package practicedemo43;

import java.util.Scanner;

public class F_Word_Test {
    public static void main(String[] args) {
        //1.获取到说的话
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入要发送的话");
        String word = sc.next();

        //2.替换
        String new_word = word.replace("fuck", "***");
        System.out.println(new_word);
    }
}
